import { mapToList } from '@/utils'
import type {MapProps} from '@/const'
import {GOODS_AUDIT_STATUS_MAP} from "@/const/goods";

// 发布审核状态
export const PRODUCT_STATUS_MAP: MapProps = {
	0: '下架',
	1: '上架',
}

export const PRODUCT_STATUS_LIST = mapToList(PRODUCT_STATUS_MAP)


export const PRODUCT_APPLY_STATUS_MAP: MapProps = {
    '10': '已报名',
    '20': '已绑卡',
    '30': '已签署',
    '40': '已授权',
}

export const PRODUCT_APPLY_STATUS_LIST = mapToList(PRODUCT_APPLY_STATUS_MAP)

export const PRODUCT_APPLY_IMPORTANT_LEVEL_MAP: MapProps = {
    1: '⭐',
    2: '⭐⭐',
    3: '⭐⭐⭐',
    4: '⭐⭐⭐⭐',
    5: '⭐⭐⭐⭐⭐',
}

export const PRODUCT_APPLY_IMPORTANT_LEVEL_LIST = mapToList(PRODUCT_APPLY_IMPORTANT_LEVEL_MAP)
